package com.xm.entity;
/**
 * 新闻页面
 */
import java.util.Date;
public class News {
	private int id;
	private String title;
	private String content;
	private int typeId;
	private String date;
	private String isShow;
	private String name;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getIsShow() {
		return isShow;
	}
	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public News(int id, String title, String content, int typeId, String date, String isShow, String name) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.typeId = typeId;
		this.date = date;
		this.isShow = isShow;
		this.name = name;
	}
	public News(int id, String title, String content, int typeId, String date, String isShow) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.typeId = typeId;
		this.date = date;
		this.isShow = isShow;
	}
	
	public News() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", title=" + title + ", content=" + content + ", typeId=" + typeId + ", date=" + date
				+ ", isShow=" + isShow + ", name=" + name + "]";
	}

	
}